package com.liuqi09.po;

/**
 * @author LiuQi
 * @create 2025-10-20-16:28
 */

import lombok.*;
import org.apache.ibatis.mapping.FetchType;

import java.time.LocalDateTime;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Song {
    private Integer id;
    private String title;
    private String artist;
    private Integer duration;
    private List<PlaylistSong> playlistSongs;

    public Song(Integer id, String title, String artist, Integer duration) {
        this.id = id;
        this.title = title;
        this.artist = artist;
        this.duration = duration;
    }
}
